#include "SierpinskinGame.h"
#include "RenderFactory.h"
#include "RendBase.h"




bool SierpinskinGame::initGl()
{
	bool ret = false;
	m_render = RenderFactory::createRender(RENDER_SIERPINSKI);
	if (m_render)
	{
		ret = m_render->initGL();

	}
	return ret;
}
void SierpinskinGame::render()
{
	if (m_render)
	{
		m_render->render();
	}
}
void SierpinskinGame::onKeyboardEvent(unsigned char key, int x, int y)
{

}
void SierpinskinGame::onMouseEvent(int button, int state, int x, int y)
{

}
void SierpinskinGame::onMouseMotionEvent(int x, int y)
{

}
void SierpinskinGame::onMousePassiveMotionEvent(int x, int y)
{

}

